<template>
  <div class="pageContent">
    <a-tabs type="card" @change="tabChange">
      <a-tab-pane key="1" tab="按月统计"><MonthData/></a-tab-pane>
      <a-tab-pane key="2" tab="按天统计"><Day/></a-tab-pane>
      
    </a-tabs>
  </div>
</template>

<script>
import MonthData from './module/month'
import Day from './module/day'
export default {
  data() {
    return {};
  },
  components:{
    MonthData,
    Day
  },
  methods: {
    tabChange(key) {
      console.log(key);
    },
  },
};
</script>

<style scoped>
.pageContent{
  padding-top:30px ;
}
</style>